<template>
  <div>
    <div class="fixHead">
      <div class="title">
        <span class="iconfont icon-jiantou" @click="$router.go(-1)"></span>
        <span class="icon-home" @click="$router.push('/')"></span>
        <h1>关联社群</h1>
      </div>
      <div style="height: 0.88rem;"></div>
    </div>
    <div style="padding: 0.2rem 0 0.6rem;">
      <div class="mlist">
        <div class="title">领袖社群</div>
        <div class="item">
          <div class="wrap">
            <img class="img" src="../../assets/images/adver.jpg" />
            <div class="cont">
              <div class="top">
                <span class="name">蚂蚁金服</span>
                <span class="small">111111</span>
              </div>
              <div class="middle">每一个认真生活的人，都值得被认真对待</div>
              <div class="bottom">
                <img src="../../assets/images/adver.jpg" />
                <span>麻小云</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="mlist mlist2">
        <div class="title">追随社群</div>

        <div class="item">
          <img class="img" src="../../assets/images/adver.jpg" />
          <van-swipe-cell>
            <div class="wrap">
              <div class="cont">
                <div class="top">
                  <span class="name">蚂蚁金服</span>
                  <span class="small">111111</span>
                </div>
                <div class="middle">每一个认真生活的人，都值得被认真对待</div>
                <div class="bottom">
                  <img src="../../assets/images/adver.jpg" />
                  <span>麻小云</span>
                </div>
              </div>
            </div>
            <template #right>
              <button type="button" class="del">删除</button>
            </template>
          </van-swipe-cell>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { SwipeCell } from "vant";
export default {
  name: "",
  components: {
    vanSwipeCell: SwipeCell
  },
  props: {},
  data: function() {
    return {};
  },
  mounted: function() {},
  methods: {}
};
</script>

<style scoped>
.mlist2 .item {
  height: 2.2rem;
  position: relative;
  margin-top: 0.5rem;
}

.mlist2 .item .img {
  width: 2.2rem;
  height: 2.2rem;
  background-color: #d6d6d6;
  border-radius: 0.2rem;
  object-fit: cover;
  position: absolute;
  top: -0.3rem;
  left: 0.5rem;
  z-index: 1;
}

.mlist2 .item .wrap {
  padding-left: 2.8rem;
}

.mlist2 .item .del {
  display: block;
  width: 1.4rem;
  height: 2.2rem;
  background-color: #c93a09;
  font-size: 0.28rem;
  color: #ffffff;
}
</style>
